package com.xjlsoft.weather.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 天气数据属性名称 单位名称
 * </p>
 *
 * @author zhangbanglong
 * @since 2020-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("weather_field")
public class WeatherField implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value="weather_field_id",type =IdType.INPUT)
    private String weatherFieldId;

    /**
     * 请求数据类型
     */
    @TableField(value="data_type")
    private String dataType;

    /**
     * 描述
     */
    //private String des;

    /**
     * 属性名称字符串
     */
    @TableField(value="field_names")
    private Object fieldNames;

    /**
     * 属性单位字符串
     */
    @TableField(value="fiels_units")
    private String fielsUnits;


}
